﻿using Domain.IRepositorys;
using Domain.Model;
using Infrastructure.RepositoryBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Repository
{
    public class UserRepository : AbstractRepository<UserInfoAggregate>, IUserRepository
    {
        public int CardUseTime(string cardNO)
        {
            return this.dbContext.Set<RealNameInfo>().Count(i => i.CardNO == cardNO);
        }
    }
}
